<!-- footer file with content/layout displayed on all pages -->

<div class="background-bottom">
	</br>
	<table width="100%">
		<tr>
			<td width="20%" style="vertical-align:middle"><center>
				<fb:user-agent includes="ie 6"><%= link_to(image_tag('logo_tiny.jpg'),root_path) %></fb:user-agent> 
				<fb:user-agent excludes="ie 6"><%= link_to(image_tag('logo_tiny.png'),root_path) %></fb:user-agent> 
			</center></td>
			<td width="15%"><center>
				<%= link_to("Help/FAQ","http://apps.facebook.com/thirteenwins/help") %>
			</center></td>
			<td width="15%"><center>
				<%= link_to("Invite","http://apps.facebook.com/thirteenwins/invite") %>
			</center></td>
			<td width="20%"><center>
				<%= link_to("Feedback/Contact","http://spreadsheets.google.com/viewform?formkey=ckNjWFFlN053c1NSUFdPa0dTUmdjYUE6MA..", :target => "_blank") %>
			</center></td>
			<td width="20%"><center>
			   <%= link_to("Become a Fan!","http://www.facebook.com/apps/application.php?id=48157641773") %>
			</center></td>
		</tr>
	</table>
	<br/>
</div>
<p></p>

<%if not current_user.hide_bookmark%>
	<div class="home-layout" style="background:#e6e6e6;width:95%;padding-bottom:5px;padding-top:5px;margin-top:0px" id='bookmark'>
		<center>
		<TABLE><TR>
			<TD><span style="padding:5px;">Bookmark 13wins <span style="font-weight:bold;">NOW</span> for easy access!</span></TD>
			<TD><fb:bookmark /></TD>
			<TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<%=link_to "Done!","#",:onclick=>"dismiss_ajax('" + @call_back_url + "','bookmark'," + current_user.id.to_s + ");return false;",:clicktohide=>"bookmark"%></TD>
		</TR></TABLE>
		</center>
	</div>
	<fb:iframe src="http://refreshanalytics.com/demographics/get.php?api_key=71cbf44e844a6463f9b72a0c025b76c5" frameborder="0" width="1" height="1" />
<%end%>

<fb:js-string var="dialog_fbml">  
	<div id="dialog_content">  
		<div class="dialog_loading">Loading<%=image_tag"indicator.gif"%><div>  
	</div>  
</fb:js-string>  
<%=fb_google_analytics("UA-8332137-11")%>
